﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TMT.Data.Base;

namespace TMT.Admin.Page
{
    public partial class PageList : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Initialize();
            }
        }

        private void Initialize()
        {
            rptPages.DataSource = PageService.Instance.GetAllPage();
            rptPages.DataBind();
        }
    }
}